package com.taichuan.selfcheck.eventbus;

/**
 * 温度
 */
public class TempEvent {
    private int tempValue;
    private int distance;

    public TempEvent(int tempValue){
        this.tempValue=tempValue;
    }

    public int getTempValue() {
        return tempValue;
    }

    public void setTempValue(int tempValue) {
        this.tempValue = tempValue;
    }

    public int getDistance() {
        return distance;
    }

    public void setDistance(int distance) {
        this.distance = distance;
    }

    @Override
    public String toString() {
        return "TempEvent{" +
                "tempValue=" + tempValue +
                ", distance=" + distance +
                '}';
    }
}
